[include]
indjelz.animated

[object]
position = -0.5,2.35,-9.29
states = muszer.b3d, muszervilagos.b3d
Statefunction = pluginstate[108]
rotateyfunction = 3.64

[object]
position = -0.5,2.35,-9.29
states = muszernemvilagitsotet.b3d, muszervilagitsotet.b3d, muszernemvilagit.b3d, muszervilagit.b3d
Statefunction = if[pluginstate[108] == 0, pluginstate[109], pluginstate[109]+2]
rotateyfunction = 3.64

[object]
position = -0.488,2.337,-9.266
states = needle.csv
rotatezfunction = 3.64
rotatezdirection = 0, 1, 0
rotatexfunction = accelerationmotor[0]*0.6
rotatexdirection = 0, 0, 1
rotatexdamping = 20, 0.8

[object]
position = -0.557,2.337,-9.229
states = needle.csv
rotatezfunction = 3.64
rotatezdirection = 0, 1, 0
rotatexfunction = if[pluginstate[30] == 0,1,-0.72]
rotatexdirection = 0, 0, 1
rotatexdamping = 20, 0.8

[object]
position = 0,0,0
States = muszerfal/muszerfal364sotet.b3d, muszerfal/muszerfal364.b3d
Statefunction = pluginstate[108]

[object]
position = 0,0,0
states = fulkesotet364.b3d, fulkevilagos364.b3d
statefunction = pluginstate[108]

[object]
states = menet2.b3d, menetV2.b3d
position = 0.36, 1.76, -8.895
statefunction = pluginstate[108]
rotatexfunction = 0
rotatexdirection = -1, 0, 0
rotatexdamping = 20, 0.8

[object]
states = fekkar2.b3d, fekkarV2.b3d
position = -0.40, 1.84, -8.9
statefunction = pluginstate[108]
rotatexfunction = 0.4
rotatexdirection = 0, 1, 0
rotatexdamping = 20, 0.8

[Object]
States = 81-717_ajtojelzes_ny.b3d, 81-717_ajtojelzes_z.b3d
StateFunction = floor[1-doors[4]]

[object]
Position = 0,0,0
States = muszerfal/ures.b3d, muszerfal/muszerfal364ajtozarva.b3d
Statefunction = floor[1-doors]

[Object]
Position = 0, 0, 0
States = fokgyem/01.b3d, fokgyem/02.b3d, fokgyem/03.b3d, fokgyem/04.b3d, fokgyem/05.b3d, fokgyem/06.b3d, fokgyem/07.b3d, fokgyem/08.b3d
Statefunction = Mod[value + pluginstate[102], 8]
RefreshRate = 1.8

[object]
Position = 0, 0, 0
States = fokgyem/fokgyem0.b3d

[Object]
Position = 0, 0, 0
States = feny/02.b3d, feny/01-jt.b3d
StateFunction = pluginstate[110]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal364toltbesotet.b3d, muszerfal/muszerfal364toltbe.b3d
Statefunction = if[pluginstate[108] == 0, pluginstate[110], pluginstate[110]*2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal364fulkebe.b3d
Statefunction = pluginstate[108]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal364pultbesotet.b3d, muszerfal/muszerfal364pultbe.b3d
Statefunction = if[pluginstate[108] == 0, pluginstate[109], pluginstate[109]*2]

[object]
Position = 0, 0, 0
States = muszerfal/ures.b3d, muszerfal/muszerfal364pultvilagitsotet.b3d, muszerfal/muszerfal364pultvilagit.b3d
Statefunction = if[pluginstate[108] == 0, pluginstate[109], pluginstate[109]*2]

[Object]
Position = 0, 0, 0
States = 81-717_364sotet.b3d, 81-717_364szuks.b3d, 81-717_364.b3d
Statefunction = if[pluginstate[92] == 0,0,if[pluginstate[30] == 0,1,2]]

[object]
Position = 0, -0.16, -0.0015
States = oldva.b3d, fek.b3d
Statefunction = if[brakecylinder < 5000, 0, 1]

[object]
Position = 0,0,0
States = muszerfal/ures.b3d, muszerfal/muszerfal364legfekbe.b3d
Statefunction = if[max[max[max[brakecylinder[0],brakecylinder[1]],max[brakecylinder[2],brakecylinder[3]]],brakecylinder[4]] < 5000, 0, 1]


[object]
Position = 0.119, 0.17, -0.45
States = szam\00.b3d, szam\01.b3d, szam\02.b3d, szam\03.b3d, szam\04.b3d, szam\05.b3d, szam\06.b3d, szam\07.b3d, szam\08.b3d, szam\09.b3d
Statefunction = floor[mod[abs[speedometer[4]*3.6],100]/10]

[object]
Position = 0.104, 0.17, -0.45
States = szam\00.b3d, szam\01.b3d, szam\02.b3d, szam\03.b3d, szam\04.b3d, szam\05.b3d, szam\06.b3d, szam\07.b3d, szam\08.b3d, szam\09.b3d
Statefunction = floor[mod[abs[speedometer[4]*3.6],10]]


[Object]
States = 81-717_ajtonyitasLS.b3d, 81-717_ajtonyitasLZ.b3d, 81-717_ajtonyitasL.b3d
Statefunction = if[pluginstate[92] == 0,0,if[pluginstate[30] == 0,1,2]]
TextureShiftXFunction = if[leftdoorstarget==0, if[leftdoors[4]<0.2,0,leftdoors[4]*0.575-0.115], if[leftdoors[4]>0.8,0.46,leftdoors[4]*0.575]]
[Object]
States = 81-717_ablakL1.b3d
TranslateZFunction = if[leftdoorstarget==0, if[leftdoors[4]<0.2,0,leftdoors[4]*0.85-0.17], if[leftdoors[4]>0.8,0.68,leftdoors[4]*0.85]]
[Object]
States = 81-717_ablakL2.b3d
TranslateZFunction = if[leftdoorstarget==0, if[leftdoors[4]<0.2,0,leftdoors[4]*(-0.85)+0.17], if[leftdoors[4]>0.8,-0.68,leftdoors[4]*(-0.85)]]

[Object]
States = 81-717_ajtonyitasRS.b3d, 81-717_ajtonyitasRZ.b3d, 81-717_ajtonyitasR.b3d
Statefunction = if[pluginstate[92] == 0,0,if[pluginstate[30] == 0,1,2]]
TextureShiftXFunction = if[rightdoorstarget==0, if[rightdoors[4]<0.2,0,rightdoors[4]*0.575-0.115], if[rightdoors[4]>0.8,0.46,rightdoors[4]*0.575]]
[Object]
States = 81-717_ablakR1.b3d
TranslateZFunction = if[rightdoorstarget==0, if[rightdoors[4]<0.2,0,rightdoors[4]*0.85-0.17], if[rightdoors[4]>0.8,0.68,rightdoors[4]*0.85]]
[Object]
States = 81-717_ablakR2.b3d
TranslateZFunction = if[rightdoorstarget==0, if[rightdoors[4]<0.2,0,rightdoors[4]*(-0.85)+0.17], if[rightdoors[4]>0.8,-0.68,rightdoors[4]*(-0.85)]]



[object]
states = ablaktorlo2.b3d
position = 0,2.98,-9.38

[object]
states = ablaktorlo2S.b3d
position = 0.56,2.78,-9.38

[object]
states = ablaktorlo2SS.b3d
position = -0.56,2.78,-9.38

[object]
states = needle_pressuregauge_upper.csv
position = -0.3992,2.154,-9.211
rotatezfunction = -0.5236
rotatezdirection = 1, 0, 0
rotatexfunction = -(brakecylinder/100000*0.7854-2.3562)
rotatexdirection = 0, 0, 1
rotateyfunction = 3.1416
rotateydirection = 0, 1, 0

[object]
states = needle_pressuregauge_red.csv
position = -0.2712,2.154,-9.211
rotatezfunction = -0.5236
rotatezdirection = 1, 0, 0
rotatexfunction = -(mainreservoir/100000*0.2836-2.2689)
rotatexdirection = 0, 0, 1
rotateyfunction = 3.1416
rotateydirection = 0, 1, 0

[object]
states = needle_pressuregauge_upper.csv
position = -0.2712,2.154,-9.21
rotatezfunction = -0.5236
rotatezdirection = 1, 0, 0
rotatexfunction = -(brakepipe/100000*0.2836-2.2689)
rotatexdirection = 0, 0, 1
rotateyfunction = 3.1416
rotateydirection = 0, 1, 0

